package com.itheima.health.mq;

import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

import java.util.Map;

@Component
public class SmsConsumer {

    @RabbitListener(queues = "heima-queue")
    public   void  xxx(Map map){
        System.out.println(map);  //   阿里云工具类 发送短信
    }
}
